
body {
	font-size: 14px;
	/*这里需要再次设置body字体大小，为 12px 或 14px 或 16px*/
	/*width: 100vw;*/
	min-width: 320px;
}


/*头部header区域样式设置开始*/

header#games-shopping-header {
	width: 100%;
	min-width: 320px;
	margin: 0 auto;
	height: 2rem;
	/*注意：1rem就是100px，所以50px高要设为0.5rem*/
	box-sizing: border-box;
}

#games-header-div {
	width: 100%;
	/*max-width: 900px;*/
	height: 1.6rem;
	margin: 0.2rem auto;
	line-height: 0.4rem;
	text-align: center;
	border-radius: 20px;
	border: 2px #249EFF solid;
	box-sizing: border-box;
	background: #0494FD;
	position: relative;
}

.flex-justify-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

#games-header-div>div {
	white-space: nowrap;
}


/*存放搜索镜的盒子*/

#games-search-mirror {
	width: 1.6rem;
	height: 100%;
	box-sizing: border-box;
	border-radius: 20px 0 0 20px;
	overflow: hidden;
}

#games-search-mirror>img {
	width: 100%;
	height: 100%;
}


/*存放搜索框输入框的盒子*/

#games-search-input {
	flex: 1;
	height: 100%;
	overflow: hidden;
}

#games-search-input input {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 0px 7px;
	border: none;
	outline: none;
	/*清除输入框的默认样式border, outline*/
	color: #0494FD;
	background: #FfFFcc;
}


/*在输入框右侧的盒子，装有各个商品游戏展示区块名称*/

#games-header-list {
	width: 1rem;
	height: 100%;
	position: relative;
	cursor: pointer;
	color: white;
	font-weight: bold;
	border-radius: 0 20px 20px 0;
	/*background-color: #0494FD;*/
}

#games-header-list>ul {
	width: 5rem;
	height: 0;
	overflow: hidden;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 100;
	transition: all 0.4s;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
	overflow: hidden;
	border-radius: 0 0 5px 5px;
}

.games-li {
	width: 50%;
	height: 1.4rem;
	overflow: hidden;
	color: white;
	font-size: 0.5rem;
	text-align: center;
	line-height: 1.4rem;
	font-weight: bold;
	background: rgba(36, 158, 225, 0.9);
}

#games-header-list:hover ul {
	height: calc(6 * 1.4rem);
}

.games-li:hover {
	background: pink;
}


/*下面是隐藏在z-Index=-1的opacity=0的盒子，当窗口滚动时就显示出来的输入框*/

#header-fixed-div {
	width: 100%;
	/*min-width: 750px;*/
	height: 1.8rem;
	display: flex;
	justify-content: center;
	flex-direction: column;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	transition: all 0.3s;
	overflow: hidden;
	background: linear-gradient(to bottom, #249eff, #52e0ff);
}

#header-fixed-div>div {
	width: 96%;
	max-width: 900px;
	height: 1.4rem;
	border-radius: 0.7rem;
	border: 0.02rem #249EFF solid;
	background: #0494FD;
	margin: 0.2rem auto;
	overflow: hidden;
	/*background: #F5F7FA;*/
	text-align: center;
}


/*回到顶部的span标签*/

#scroll-to-top-span {
	cursor: pointer;
	display: block;
	width: 100%;
	height: 100%;
	width: 1.4rem;
	height: 100%;
	color: white;
	font-size: 0.7rem;
	line-height: 1.4rem;
	transition: all 0.3s;
}

#scroll-to-top-span:hover {
	transform: rotate(90deg);
}


/*窗口滚动时显示出来的输入框*/

#games-search-value {
	flex: 1;
	height: 100%;
	font-size: 0.7rem;
	padding: 0 5px;
	box-sizing: border-box;
	border: none;
}


/*隐藏再显示出来的输入框的点击搜索按钮*/

#games-search-btn {
	width: 2rem;
	height: 100%;
	background: #0494FD;
	color: white;
	font-size: 0.6rem;
	font-weight: bold;
	outline: none;
	border: none;
	white-space: nowrap;
}


/*头部header区域样式设置结束 end*/


/*导航区域nav开始*/

nav#games-shopping-nav {
	width: 100%;
	/*height: 10rem;*/
	margin: 0.3rem auto;
	box-sizing: border-box;
}

#nav-games-area1,
#nav-games-area2 {
	margin: 0.3rem auto;
	width: 100%;
	max-width: 750px;
}
#nav-games-area1 {
	height: 7rem;
}
.nav-games-ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: center;
	align-items: center;
}

.nav-games-ul>li {
	/*flex: 1;*/
	width: 3rem;
	height: 3.5rem;
	overflow: hidden;
	text-align: center;
}

.nav-games-ul>li img {
	margin: 0 auto;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
}

.nav-games-ul>li strong {
	/*禁止文字换行*/
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 0.75rem;
	width: 100%;
	height: 1.4rem;
	line-height: 0.75rem;
}


/*轮播图div的样式设置*/

#carousel-div1 {
	width: 100%;
	height: 6.5rem;
	margin: 0 auto 0.1rem;
}

#carousel-ul1 {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

#carousel-ul1>li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	transition: all 0.4s;
}


/*为轮播图做基础的li位移transform：translate*/

#carousel-ul1>li:nth-of-type(2) {
	transform: translate(100%, 0);
}

#carousel-ul1>li:nth-of-type(3) {
	transform: translate(0, 100%);
}

#carousel-ul1>li:nth-of-type(4) {
	transform: translate(-100%, 0);
}

#carousel-ul1>li:nth-of-type(5) {
	transform: translate(0, -100%);
}


/*轮播图li里面包含的图片*/

#carousel-ul1>li img {
	display: block;
	vertical-align: middle;
	width: 100%;
	height: 100%;
}


/*轮播图区域的div的共用样式，宽度一样，都是文字水平居中*/

.carousel-div {
	width: 100%;
	text-align: center;
}

.carousel-circle-div {
	height: 1.6rem;
	line-height: 1.6rem;
	font-size: 0.7rem;
	margin: 0 auto;
}

.carousel-circle-ul {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
}

.carousel-circle-ul>li {
	cursor: pointer;
	width: 18%;
	height: 100%;
	border-radius: 0.1rem;
	background: #0494FD;
	color: white;
	font-weight: bold;
}


/*导航区域结束 end*/


/*section主体部分区域开始 start*/


/*今日疯抢，新人专享，限时秒杀开始start*/

.games-four-boxes {
	width: 100%;
	max-width: 750px;
	height: 7rem;
	margin: 0.2rem auto;
	
}

.games-four-boxes-ul {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
}

.games-four-boxes-ul>li {
	box-sizing: border-box;
	width: 50%;
	height: 3.5rem;
	border: 1px solid #f0f0f0;
}

.games-four-boxes-ul>li:nth-of-type(1) {
	border-top: none;
	border-left: none;
}

.games-four-boxes-ul>li:nth-of-type(2) {
	border-top: none;
	border-right: none;
	border-left: none;
}

.games-four-boxes-ul>li:nth-of-type(3) {
	border-top: none;
	border-left: none;
	border-bottom: none;
}

.games-four-boxes-ul>li:nth-of-type(4) {
	border-top: none;
	border-bottom: none;
	border-right: none;
	border-left: none;
}

.games-four-boxes-ul>li a {
	width: 7.5rem;
	height: 3.75rem;
	overflow: hidden;
	display: flex;
	/*justify-content: center;*/
	align-content: center;
	align-items: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.games-four-boxes-ul>li a div:nth-of-type(1) {
	box-sizing: border-box;
	flex: 1;
	font-size: 0.6rem;
	padding: 0 0 0 0.2rem;
	
}

.games-four-boxes-ul>li a div:nth-of-type(2) {
	width: 50%;
	height: 100%;
	border-radius: 50%;
	float: right;
}

.games-four-boxes-ul a div:nth-of-type(2) img {
	width: 70%;
	height: 70%;
	display: block;
	margin: 15% auto;
}


/*今日疯抢，新人专享，限时秒杀结束 end*/


/*好货推荐开始 start*/

.games-recommend {
	width: 100%;
	max-width: 750px;
	height: 7.5rem;
	margin: 0.3rem auto;
	overflow: hidden;
}

.games-div-list {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.games-div-list>div {
	width: 5rem;
	height: 5.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.games-div-list>div a {
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
}

.games-div-list>div a div:nth-of-type(1) {
	overflow: hidden;
	width: 100%;
	height: 3.5rem;
	border-radius: 0.1rem;
}

.games-div-list>div a img {
	display: block;
	width: 100%;
	height: 100%;
	
	transition: all 0.3s;
}

.games-div-list img:hover {
	transform: scale(1.2);
}

.games-description {
	width: 100%;
	height: 2rem;
	font-size: 0.6rem;
	line-height: 2rem;
}


/*好货推荐结束 end*/


/*王者荣耀以下的一行3列的有规律游戏列表开始*/

.games-column {
	width: 100%;
	/*height: 7.5rem;*/
	margin: 0.2rem auto;
}

.games-column-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 2rem;
	width: 100%;
	margin: 0 auto;
	line-height: 2rem;
}

.games-column-title>div:nth-of-type(1) {
	flex: 1;
	height: 100%;
	padding-left: 0.1rem;
}

.games-column-title>div:nth-of-type(1) strong {
	font-size: 0.8rem;
}

.games-column-title>div:nth-of-type(2) {
	width: 32%;
	height: 100%;
	text-align: right;
	padding-right: 0.4rem;
}

.games-column-title>div:nth-of-type(2) a {
	font-size: 0.6rem;
	color: red;
}

.games-column-list>ul {
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	
}

.games-column-list>ul>li {
	width: 4.65rem;
	height: 6.2rem;
}

.games-column-list>ul a {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 0.1rem;
	position: relative;
}

.games-column-list>ul a img {
	width: 100%;
	height: auto;
	display: block;
}

.games-column-list>ul a div {
	text-align: center;
	width: 100%;
	height: 1.2rem;
	font-size: 0.75rem;
	line-height: 1.2rem;
	color: white;
	font-weight: bold;
	position: absolute;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.6);
}